<?php
global $lg; 

 switch($act){
	case "test1":
		$tpl="test1";
		break;
	case "test2":
		$tpl="test2";
		break;
	case "test3":
		$tpl="test3";
		break;			
	
	default:
		$file_tpl = MDL_DIR.$do."/".$act.".php";
		//echo $file_tpl;
		if(file_exists($file_tpl))
			$tpl = $act;			
		else
			$tpl="list";
}
?>
		